function circleFun(r) {
    this.r=r;
    var cir=2*3.14*r;
    var are=3.14*r*r;
    this.circumference=function name(params) {
        // var cir=2*3.14*r
        return cir
    }
    this.area=function name(params) {
        // var are=3.14*r*r;
        return are
    }
    // return {
    //     "circumference":cir,
    //     "area":are
    // } 
    console.log("circumference:"+cir+"       "+"area:"+are);
}
module.exports=circleFun;